package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SellingExpenses;

/**
 * 销售费用Mapper接口
 * 
 * @author 王帝
 * @date 2022-08-02
 */
public interface SellingExpensesMapper 
{
    /**
     * 查询销售费用
     * 
     * @param expId 销售费用主键
     * @return 销售费用
     */
    public SellingExpenses selectSellingExpensesByExpId(Integer expId);

    /**
     * 查询销售费用列表
     * 
     * @param sellingExpenses 销售费用
     * @return 销售费用集合
     */
    public List<SellingExpenses> selectSellingExpensesList(SellingExpenses sellingExpenses);

    /**
     * 新增销售费用
     * 
     * @param sellingExpenses 销售费用
     * @return 结果
     */
    public int insertSellingExpenses(SellingExpenses sellingExpenses);

    /**
     * 修改销售费用
     * 
     * @param sellingExpenses 销售费用
     * @return 结果
     */
    public int updateSellingExpenses(SellingExpenses sellingExpenses);

    /**
     * 删除销售费用
     * 
     * @param expId 销售费用主键
     * @return 结果
     */
    public int deleteSellingExpensesByExpId(Integer expId);

    /**
     * 批量删除销售费用
     * 
     * @param expIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSellingExpensesByExpIds(Integer[] expIds);
}
